#include <stdio.h>
#include <stdlib.h>

int main()
{
	int *p = (int *)malloc(sizeof(int));
	printf("p = %p\n", p);
	printf("p+100 = %p\n", p + 100);
	printf("p = %d\n", *(p + 100));
	*(p - 1) = 23;		//附件数据存在
	free(p);	        //malloc的大小和使用的大小保持一致
	return 0;
}
